/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel.PivotItem*/
public class PivotItem extends JavaScriptObject {

	protected PivotItem() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final PivotField getParent()/*-{
		return this.Parent;
	}-*/;

	public native final JavaScriptObject getChildItems( Object index)/*-{
		return this.ChildItems( index);
	}-*/;

	public native final Range getDataRange()/*-{
		return this.DataRange;
	}-*/;

	public native final String get_Default()/*-{
		return this._Default;
	}-*/;

	public native final void set_Default(String value)/*-{
		this._Default = value;
	}-*/;

	public native final Range getLabelRange()/*-{
		return this.LabelRange;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final PivotItem getParentItem()/*-{
		return this.ParentItem;
	}-*/;

	public native final boolean getParentShowDetail()/*-{
		return this.ParentShowDetail;
	}-*/;

	public native final int getPosition()/*-{
		return this.Position;
	}-*/;

	public native final void setPosition(int value)/*-{
		this.Position = value;
	}-*/;

	public native final boolean getShowDetail()/*-{
		return this.ShowDetail;
	}-*/;

	public native final void setShowDetail(boolean value)/*-{
		this.ShowDetail = value;
	}-*/;

	public native final JavaScriptObject getSourceName()/*-{
		return this.SourceName;
	}-*/;

	public native final String getValue()/*-{
		return this.Value;
	}-*/;

	public native final void setValue(String value)/*-{
		this.Value = value;
	}-*/;

	public native final boolean getVisible()/*-{
		return this.Visible;
	}-*/;

	public native final void setVisible(boolean value)/*-{
		this.Visible = value;
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final boolean getIsCalculated()/*-{
		return this.IsCalculated;
	}-*/;

	public native final int getRecordCount()/*-{
		return this.RecordCount;
	}-*/;

	public native final String getFormula()/*-{
		return this.Formula;
	}-*/;

	public native final void setFormula(String value)/*-{
		this.Formula = value;
	}-*/;

	public native final String getCaption()/*-{
		return this.Caption;
	}-*/;

	public native final void setCaption(String value)/*-{
		this.Caption = value;
	}-*/;

	public native final boolean getDrilledDown()/*-{
		return this.DrilledDown;
	}-*/;

	public native final void setDrilledDown(boolean value)/*-{
		this.DrilledDown = value;
	}-*/;

	public native final String getStandardFormula()/*-{
		return this.StandardFormula;
	}-*/;

	public native final void setStandardFormula(String value)/*-{
		this.StandardFormula = value;
	}-*/;

	public native final String getSourceNameStandard()/*-{
		return this.SourceNameStandard;
	}-*/;

	public native final void drillTo(String field)/*-{
		this.DrillTo( field);
	}-*/;

}
